<?php
// +----------------------------------------------------------------------
// | FastXCMS [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2018 http://www.fastxcms.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 老猫 <thinkcmf@126.com>
// +----------------------------------------------------------------------
namespace app\portal\controller;

use cmf\controller\HomeBaseController;
use app\portal\service\PostService;

// 模块参数其它模块安装
global $configinfo;
$configinfo['themodule'] = "index";

class IndexController extends HomeBaseController
{
    public function index()
    {
		global $configblock,$configinfo,$configindex,$configbase;
		
		// 页页标题，关键词，描述
		$headmeta['title'] = $configbase['config']['title'];
		$headmeta['keyword'] = $configbase['config']['keyword'];
		$headmeta['description'] = $configbase['config']['description'];
		$this->assign('headmeta', $headmeta);
		
		// 【模块参数程序安装】其它模块功能扩展配置
		$expmodule="index";$expname="index";$expblock="main";include(MODULEPARA_PATH.'/expmodule/expmoduletpl.php');
		
        return $this->fetch(':index');
    }
}
